package com.etc.vo;

import org.omg.PortableInterceptor.INACTIVE;

import java.util.Date;

/**
 * 文件名:com.etc.vo.OrderInfoMessage
 * 描述：前端订单详情信息表
 * 作者:吴仕泉
 * 时间:2019/5/28 1:02
 */
public class OrderInfoMessage {
    //收件人名字
    private String  sureusername;

    //手机号
    private String  sureusertel;

    //详细地址
    private String  address;

    //订单号
    private  String orderNum;

    //秒杀商品数量
    private Integer sureshopnum;

    //下单时间
    private String orderdata;

    //价格
    private double surepice;

    //商品ID
    private Integer goodid;

    //商品名字
    private String goodname;

    //对应一级分类id
    private  int onelevelid;

    //对应一级分类名称
    private String onelevelname;

    //对应二级分类Id;
    private int twolevelid;

    //对应二级分类名称
    private String twolevelname;

    //订单状态
    private Integer orderstatus;

    //商品图片路径
    private String priceurl;

    //订单ID
    private Integer flashorderid;

    public OrderInfoMessage() {
    }

    public OrderInfoMessage(String sureusername, String sureusertel, String address, String orderNum, Integer sureshopnum, String orderdata, double surepice, Integer goodid, String goodname, int onelevelid, String onelevelname, int twolevelid, String twolevelname, Integer orderstatus, String priceurl, Integer flashorderid) {
        this.sureusername = sureusername;
        this.sureusertel = sureusertel;
        this.address = address;
        this.orderNum = orderNum;
        this.sureshopnum = sureshopnum;
        this.orderdata = orderdata;
        this.surepice = surepice;
        this.goodid = goodid;
        this.goodname = goodname;
        this.onelevelid = onelevelid;
        this.onelevelname = onelevelname;
        this.twolevelid = twolevelid;
        this.twolevelname = twolevelname;
        this.orderstatus = orderstatus;
        this.priceurl = priceurl;
        this.flashorderid = flashorderid;
    }

    public String getSureusername() {
        return sureusername;
    }

    public void setSureusername(String sureusername) {
        this.sureusername = sureusername;
    }

    public String getSureusertel() {
        return sureusertel;
    }

    public void setSureusertel(String sureusertel) {
        this.sureusertel = sureusertel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getSureshopnum() {
        return sureshopnum;
    }

    public void setSureshopnum(Integer sureshopnum) {
        this.sureshopnum = sureshopnum;
    }

    public String getOrderdata() {
        return orderdata;
    }

    public void setOrderdata(String orderdata) {
        this.orderdata = orderdata;
    }

    public double getSurepice() {
        return surepice;
    }

    public void setSurepice(double surepice) {
        this.surepice = surepice;
    }


    public Integer getGoodid() {
        return goodid;
    }

    public void setGoodid(Integer goodid) {
        this.goodid = goodid;
    }

    public String getGoodname() {
        return goodname;
    }

    public void setGoodname(String goodname) {
        this.goodname = goodname;
    }

    public int getOnelevelid() {
        return onelevelid;
    }

    public void setOnelevelid(int onelevelid) {
        this.onelevelid = onelevelid;
    }

    public String getOnelevelname() {
        return onelevelname;
    }

    public void setOnelevelname(String onelevelname) {
        this.onelevelname = onelevelname;
    }

    public int getTwolevelid() {
        return twolevelid;
    }

    public void setTwolevelid(int twolevelid) {
        this.twolevelid = twolevelid;
    }

    public String getTwolevelname() {
        return twolevelname;
    }

    public void setTwolevelname(String twolevelname) {
        this.twolevelname = twolevelname;
    }

    public Integer getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(Integer orderstatus) {
        this.orderstatus = orderstatus;
    }

    public String getPriceurl() {
        return priceurl;
    }

    public void setPriceurl(String priceurl) {
        this.priceurl = priceurl;
    }

    public Integer getFlashorderid() {
        return flashorderid;
    }

    public void setFlashorderid(Integer flashorderid) {
        this.flashorderid = flashorderid;
    }

    @Override
    public String toString() {
        return "OrderInfoMessage{" +
                "sureusername='" + sureusername + '\'' +
                ", sureusertel='" + sureusertel + '\'' +
                ", address='" + address + '\'' +
                ", orderNum='" + orderNum + '\'' +
                ", sureshopnum=" + sureshopnum +
                ", orderdata='" + orderdata + '\'' +
                ", surepice=" + surepice +
                ", goodid=" + goodid +
                ", goodname='" + goodname + '\'' +
                ", onelevelid=" + onelevelid +
                ", onelevelname='" + onelevelname + '\'' +
                ", twolevelid=" + twolevelid +
                ", twolevelname='" + twolevelname + '\'' +
                ", orderstatus=" + orderstatus +
                ", priceurl='" + priceurl + '\'' +
                ", flashorderid=" + flashorderid +
                '}';
    }
}
